﻿// -----------------------------------------------------------------------
// <copyright file=DmDichVuBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmDichVuBusiness
    {
        DmDichVuDataAccess objDa = null;

        public DmDichVuBusiness()
        {
            objDa = new DmDichVuDataAccess();
        }

        public bool InsertDmDichVu(DmDichVuEntity obj)
        {
            return objDa.InsertDmDichVu(obj);
        }

        public bool EditDmDichVu(DmDichVuEntity obj)
        {
            return objDa.EditDmDichVu(obj);
        }

        public bool DeleteDmDichVu(string maDichVu)
        {
            return objDa.DeleteDmDichVu(maDichVu);
        }

        public DmDichVuEntity GetDmDichVu(string maDichVu)
        {
            return objDa.GetDmDichVu(maDichVu);
        }

        public IList<DmDichVuEntity> GetDmDichVuList()
        {
            return objDa.GetDmDichVuList();
        }

    }
}